import { request } from '../utils/request'

export function getBarData() {
    return request({
        method: 'get',
        url: 'echarts/getBarData',
    })
}

export function getPieData() {
    return request({
        method: 'get',
        url: 'echarts/getPieData',
    })
}

export function getMarker(params) {
    return request({
        method: 'get',
        url: 'medical/getMarker',
        data: params,
        headers:{
            'Content-Type': 'application/json',
            'token':window.localStorage.token
        }
    })
}
